<template>
  <div class="content">

    <div class="page-content">
      <div class="page-content-top">

        <Step :step="['创建名片','实名认证','授权认证','认证审核']" :active="4"></Step>
      </div>
      <div class="page-content-bottom">
        <img src="@/assets/images/register/time.png" class="img">
        <p class="text1">在职认证审核中</p>
        <p class="text2">审核结果会以短信形式及时通知</p>
        <p class="text3">审核通过后请退出重新登录</p>

        <div class="page-content-confirm">
          <div @click="resetData" style="color: #FFFFFF">
            返回
          </div>
        </div>

      </div>

    </div>
  </div>
</template>

<script>
import Step from "@/components/Step/Step";
export default {
  components: {Step},
  data() {
    return {

    }
  },
  methods: {
    resetData() {
      this.$store.dispatch('user/getUser')
      // this.$store.commit('user/SET_TOKEN', null);
      // this.$store.commit('user/SET_USER', null);
      //this.tim.logout();
      this.$router.push({
        name: '/home/index'
      })
    }
  }
}
</script>

<style lang="scss" scoped>
.content {

  .page-content {
    background-color: #FFFFFF;
    width: $contentWidth;
    min-height: $fullMinHeight;
    margin: 20px auto;
    flex-direction: column;
    border-radius: 5px;
    height: 705px;

    .page-content-confirm {
      margin: 40px 50px 30px 10%;
      border-radius: 10px;
      width: 135px;
      height: 35px;
      background: #ff7626;
      color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
    }

    .page-content-bottom {
      width: 400px;
      height: 200px;;
      position: absolute;
      top: 40%;
      left: 44%;

      .img {
        width: 70px;
        margin-left: 17%;
      }

      .text1 {
        font-size: 25px;
        font-weight: bold;
        padding-top: 20px;
        padding-left: 17px;
      }

      .text2 {
        font-size: 14px;
        color: #8c939d;
        padding-top: 10px;
      }

      .text3 {
        font-size: 14px;
        color: #8c939d;
        padding-left: 8px;
      }

    }

    .page-content-top {
      margin: 0 30px 0 30px;
      padding-top: 25px;
      border-bottom: 1px solid #DBDBDB;

      .page-content-navigation {
        margin: 0 200px 0 200px;
        display: flex;
      }

    }


  }
}
</style>
